package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class PurchaseQueryActivity extends UMWindowActivity {

	protected UMWindow PurchaseQuery = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected UMButton button5 = null;
protected UMScrollView Scrollview_panel12 = null;
protected XVerticalLayout panel12 = null;
protected XHorizontalLayout panel0 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label1 = null;
protected UMLabel label2 = null;
protected UMTextbox textbox0 = null;
protected UMButton button1 = null;
protected XHorizontalLayout panel1 = null;
protected XHorizontalLayout panel14 = null;
protected UMLabel label3 = null;
protected UMLabel label4 = null;
protected UMTextbox textbox1 = null;
protected XHorizontalLayout panel2 = null;
protected XHorizontalLayout panel15 = null;
protected UMLabel label5 = null;
protected UMLabel label6 = null;
protected UMTextbox textbox2 = null;
protected UMButton button2 = null;
protected XHorizontalLayout panel5 = null;
protected XHorizontalLayout panel16 = null;
protected UMLabel label11 = null;
protected UMLabel label12 = null;
protected UMTextbox textbox3 = null;
protected UMButton button3 = null;
protected XHorizontalLayout panel6 = null;
protected XHorizontalLayout panel13 = null;
protected UMLabel label13 = null;
protected UMLabel label14 = null;
protected UMTextbox textbox6 = null;
protected XHorizontalLayout panel7 = null;
protected XHorizontalLayout panel22 = null;
protected UMLabel label15 = null;
protected UMLabel label16 = null;
protected UMTextbox textbox4 = null;
protected XHorizontalLayout panel9 = null;
protected XHorizontalLayout panel18 = null;
protected UMLabel label17 = null;
protected UMLabel label19 = null;
protected UMDateEdit dateinput0 = null;
protected XHorizontalLayout panel4 = null;
protected XHorizontalLayout panel19 = null;
protected UMLabel label9 = null;
protected UMLabel label10 = null;
protected UMDateEdit dateinput1 = null;
protected XHorizontalLayout panel8 = null;
protected XHorizontalLayout panel20 = null;
protected UMLabel label18 = null;
protected UMLabel label20 = null;
protected UMDateEdit dateinput2 = null;
protected XHorizontalLayout panel10 = null;
protected XHorizontalLayout panel21 = null;
protected UMLabel label21 = null;
protected UMLabel label22 = null;
protected UMDateEdit dateinput3 = null;
protected XHorizontalLayout panel23 = null;
protected UMButton button6 = null;

	
	protected final static int ID_PURCHASEQUERY = 486884803;
protected final static int ID_VIEWPAGE0 = 891816364;
protected final static int ID_NAVIGATORBAR0 = 1485045841;
protected final static int ID_BUTTON0 = 1585694242;
protected final static int ID_LABEL0 = 1581991186;
protected final static int ID_BUTTON5 = 1575164063;
protected final static int ID_SCROLLVIEW_PANEL12 = 437415017;
protected final static int ID_PANEL12 = 1464639255;
protected final static int ID_PANEL0 = 313703368;
protected final static int ID_PANEL3 = 434681074;
protected final static int ID_LABEL1 = 160340581;
protected final static int ID_LABEL2 = 1884842587;
protected final static int ID_TEXTBOX0 = 1498861136;
protected final static int ID_BUTTON1 = 916619317;
protected final static int ID_PANEL1 = 1325851302;
protected final static int ID_PANEL14 = 696929018;
protected final static int ID_LABEL3 = 1534990199;
protected final static int ID_LABEL4 = 2039599692;
protected final static int ID_TEXTBOX1 = 242339472;
protected final static int ID_PANEL2 = 218352291;
protected final static int ID_PANEL15 = 1099831520;
protected final static int ID_LABEL5 = 287678534;
protected final static int ID_LABEL6 = 1296460710;
protected final static int ID_TEXTBOX2 = 693431771;
protected final static int ID_BUTTON2 = 1542084534;
protected final static int ID_PANEL5 = 1528334192;
protected final static int ID_PANEL16 = 883518006;
protected final static int ID_LABEL11 = 1064422413;
protected final static int ID_LABEL12 = 2105561577;
protected final static int ID_TEXTBOX3 = 1315128598;
protected final static int ID_BUTTON3 = 1115374339;
protected final static int ID_PANEL6 = 1994430978;
protected final static int ID_PANEL13 = 1584102878;
protected final static int ID_LABEL13 = 554564843;
protected final static int ID_LABEL14 = 357115357;
protected final static int ID_TEXTBOX6 = 410643550;
protected final static int ID_PANEL7 = 486555753;
protected final static int ID_PANEL22 = 112454856;
protected final static int ID_LABEL15 = 333487968;
protected final static int ID_LABEL16 = 564918443;
protected final static int ID_TEXTBOX4 = 5631419;
protected final static int ID_PANEL9 = 92070258;
protected final static int ID_PANEL18 = 1036532891;
protected final static int ID_LABEL17 = 2043557812;
protected final static int ID_LABEL19 = 1692130921;
protected final static int ID_DATEINPUT0 = 804785727;
protected final static int ID_PANEL4 = 1871310082;
protected final static int ID_PANEL19 = 1581808551;
protected final static int ID_LABEL9 = 1010493241;
protected final static int ID_LABEL10 = 1692991280;
protected final static int ID_DATEINPUT1 = 1150538414;
protected final static int ID_PANEL8 = 1768099689;
protected final static int ID_PANEL20 = 372009003;
protected final static int ID_LABEL18 = 976851760;
protected final static int ID_LABEL20 = 563583670;
protected final static int ID_DATEINPUT2 = 1589516265;
protected final static int ID_PANEL10 = 796139448;
protected final static int ID_PANEL21 = 638002582;
protected final static int ID_LABEL21 = 1568730555;
protected final static int ID_LABEL22 = 1324017126;
protected final static int ID_DATEINPUT3 = 885205665;
protected final static int ID_PANEL23 = 264416967;
protected final static int ID_BUTTON6 = 2088153636;

	
	
	@Override
	public String getControllerName() {
		return "PurchaseQueryController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("PurchaseQuery",ID_PURCHASEQUERY);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("button5",ID_BUTTON5);
  idmap.put("Scrollview_panel12",ID_SCROLLVIEW_PANEL12);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label1",ID_LABEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("panel14",ID_PANEL14);
  idmap.put("label3",ID_LABEL3);
  idmap.put("label4",ID_LABEL4);
  idmap.put("textbox1",ID_TEXTBOX1);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("panel15",ID_PANEL15);
  idmap.put("label5",ID_LABEL5);
  idmap.put("label6",ID_LABEL6);
  idmap.put("textbox2",ID_TEXTBOX2);
  idmap.put("button2",ID_BUTTON2);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("panel16",ID_PANEL16);
  idmap.put("label11",ID_LABEL11);
  idmap.put("label12",ID_LABEL12);
  idmap.put("textbox3",ID_TEXTBOX3);
  idmap.put("button3",ID_BUTTON3);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("label13",ID_LABEL13);
  idmap.put("label14",ID_LABEL14);
  idmap.put("textbox6",ID_TEXTBOX6);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("panel22",ID_PANEL22);
  idmap.put("label15",ID_LABEL15);
  idmap.put("label16",ID_LABEL16);
  idmap.put("textbox4",ID_TEXTBOX4);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("panel18",ID_PANEL18);
  idmap.put("label17",ID_LABEL17);
  idmap.put("label19",ID_LABEL19);
  idmap.put("dateinput0",ID_DATEINPUT0);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("panel19",ID_PANEL19);
  idmap.put("label9",ID_LABEL9);
  idmap.put("label10",ID_LABEL10);
  idmap.put("dateinput1",ID_DATEINPUT1);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("panel20",ID_PANEL20);
  idmap.put("label18",ID_LABEL18);
  idmap.put("label20",ID_LABEL20);
  idmap.put("dateinput2",ID_DATEINPUT2);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("panel21",ID_PANEL21);
  idmap.put("label21",ID_LABEL21);
  idmap.put("label22",ID_LABEL22);
  idmap.put("dateinput3",ID_DATEINPUT3);
  idmap.put("panel23",ID_PANEL23);
  idmap.put("button6",ID_BUTTON6);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(PurchaseQueryActivity.this);
    actionViewpage0_onload(viewPage0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","查询条件"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","48"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"font-size","20"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","44"
,"pressed-image","btn_back_touch"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);
button5 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON5
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button5_onclick"
,"font-size","17"
,"valign","center"
,"widthwrap","54.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","清空值"
,"height","44"
);
navigatorbar0.addView(button5);

return navigatorbar0;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel3.addView(label1);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#333333"
,"width","32.0"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","物料"
,"margin-right","4"
,"height","fill"
);
panel3.addView(label2);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"color","#000000"
,"maxlength","256"
,"weight","1"
,"font-size","14"
,"bindfield","materialname"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","40"
,"height","fill"
);
panel3.addView(textbox0);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button1_onclick"
,"width","40"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"background-image","btn_add.png"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
panel3.addView(button1);

return panel3;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","10"
,"height","40"
);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel0.addView(panel3);

return panel0;
}
public View getPanel14View(final UMActivity context,IBinderGroup binderGroup) {
panel14 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL14
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel14.addView(label3);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","48.0"
,"content","单据号"
,"margin-right","4"
,"height","fill"
);
panel14.addView(label4);
textbox1 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX1
,"bindfield","vbillcode"
,"color","#000000"
,"maxlength","256"
,"width","fill"
,"font-size","14"
,"font-family","default"
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","40"
,"height","fill"
);
panel14.addView(textbox1);

return panel14;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","40"
);
View panel14 = (View) getPanel14View((UMActivity)context,binderGroup);
panel1.addView(panel14);

return panel1;
}
public View getPanel15View(final UMActivity context,IBinderGroup binderGroup) {
panel15 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL15
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel15.addView(label5);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","采购部门"
,"margin-right","4"
,"height","fill"
);
panel15.addView(label6);
textbox2 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX2
,"color","#000000"
,"maxlength","256"
,"weight","1"
,"font-size","14"
,"bindfield","deptname"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","40"
,"height","fill"
);
panel15.addView(textbox2);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button2_onclick"
,"width","40"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"background-image","btn_add.png"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
panel15.addView(button2);

return panel15;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","40"
);
View panel15 = (View) getPanel15View((UMActivity)context,binderGroup);
panel2.addView(panel15);

return panel2;
}
public View getPanel16View(final UMActivity context,IBinderGroup binderGroup) {
panel16 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL16
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel16.addView(label11);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","48.0"
,"content","供应商"
,"margin-right","4"
,"height","fill"
);
panel16.addView(label12);
textbox3 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX3
,"color","#000000"
,"maxlength","256"
,"weight","1"
,"font-size","14"
,"bindfield","suppliername"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","40"
,"height","fill"
);
panel16.addView(textbox3);
button3 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON3
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button3_onclick"
,"width","40"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"background-image","btn_add.png"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
panel16.addView(button3);

return panel16;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","40"
);
View panel16 = (View) getPanel16View((UMActivity)context,binderGroup);
panel5.addView(panel16);

return panel5;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL13
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","CENTER"
,"height","fill"
);
label13 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL13
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel13.addView(label13);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","96.0"
,"content","供应商批次号"
,"margin-right","4"
,"height","fill"
);
panel13.addView(label14);
textbox6 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX6
,"bindfield","vvendbatchcode"
,"color","#000000"
,"maxlength","256"
,"width","fill"
,"font-size","14"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","40"
,"height","fill"
);
panel13.addView(textbox6);

return panel13;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","40"
);
View panel13 = (View) getPanel13View((UMActivity)context,binderGroup);
panel6.addView(panel13);

return panel6;
}
public View getPanel22View(final UMActivity context,IBinderGroup binderGroup) {
panel22 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL22
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel22.addView(label15);
label16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL16
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","48.0"
,"content","批次号"
,"margin-right","4"
,"height","fill"
);
panel22.addView(label16);
textbox4 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX4
,"bindfield","batchcode"
,"color","#000000"
,"maxlength","256"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","40"
,"height","fill"
);
panel22.addView(textbox4);

return panel22;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","40"
);
View panel22 = (View) getPanel22View((UMActivity)context,binderGroup);
panel7.addView(panel22);

return panel7;
}
public View getPanel18View(final UMActivity context,IBinderGroup binderGroup) {
panel18 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL18
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","CENTER"
,"height","fill"
);
label17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL17
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel18.addView(label17);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","单据日期从"
,"margin-right","4"
,"height","fill"
);
panel18.addView(label19);
dateinput0 = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_DATEINPUT0
,"color","#167ef8"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","dbillbegindate"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"margin-bottom","1"
,"padding-right","40"
,"height","fill"
);
panel18.addView(dateinput0);

return panel18;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","40"
);
View panel18 = (View) getPanel18View((UMActivity)context,binderGroup);
panel9.addView(panel18);

return panel9;
}
public View getPanel19View(final UMActivity context,IBinderGroup binderGroup) {
panel19 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL19
,"border-bottom-color","#e2e2e2"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel19.addView(label9);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","单据日期到"
,"margin-right","4"
,"height","fill"
);
panel19.addView(label10);
dateinput1 = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_DATEINPUT1
,"color","#167ef8"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","dbillendate"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"margin-bottom","1"
,"padding-right","40"
,"height","fill"
);
panel19.addView(dateinput1);

return panel19;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","40"
);
View panel19 = (View) getPanel19View((UMActivity)context,binderGroup);
panel4.addView(panel19);

return panel4;
}
public View getPanel20View(final UMActivity context,IBinderGroup binderGroup) {
panel20 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL20
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","CENTER"
,"height","fill"
);
label18 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL18
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel20.addView(label18);
label20 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL20
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","112.0"
,"content","计划到货日期从"
,"margin-right","4"
,"height","fill"
);
panel20.addView(label20);
dateinput2 = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_DATEINPUT2
,"color","#167ef8"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","dplanreceivedateb"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"margin-bottom","1"
,"padding-right","40"
,"height","fill"
);
panel20.addView(dateinput2);

return panel20;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","40"
);
View panel20 = (View) getPanel20View((UMActivity)context,binderGroup);
panel8.addView(panel20);

return panel8;
}
public View getPanel21View(final UMActivity context,IBinderGroup binderGroup) {
panel21 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL21
,"border-bottom-color","#e2e2e2"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"visible","false"
,"color","#e50011"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","10"
);
panel21.addView(label21);
label22 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL22
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","112.0"
,"content","计划到货日期到"
,"margin-right","4"
,"height","fill"
);
panel21.addView(label22);
dateinput3 = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_DATEINPUT3
,"color","#167ef8"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","dplanreceivedatee"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"margin-bottom","1"
,"padding-right","40"
,"height","fill"
);
panel21.addView(dateinput3);

return panel21;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","40"
);
View panel21 = (View) getPanel21View((UMActivity)context,binderGroup);
panel10.addView(panel21);

return panel10;
}
public View getPanel23View(final UMActivity context,IBinderGroup binderGroup) {
panel23 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL23
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","RIGHT"
,"height","80"
);
button6 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON6
,"font-pressed-color","#f2adb2"
,"color","#ffffff"
,"onclick","action:button6_onclick"
,"font-size","20"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#ff0000"
,"width","fill"
,"font-family","default"
,"margin-top","10"
,"layout-type","hbox"
,"halign","center"
,"value","查询"
,"height","44"
);
panel23.addView(button6);

return panel23;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL12
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","wrap"
);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
panel12.addView(panel0);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel12.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel12.addView(panel2);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel12.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel12.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel12.addView(panel7);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel12.addView(panel9);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel12.addView(panel4);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel12.addView(panel8);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel12.addView(panel10);
View panel23 = (View) getPanel23View((UMActivity)context,binderGroup);
panel12.addView(panel23);

return panel12;
}
public View getScrollview_panel12View(final UMActivity context,IBinderGroup binderGroup) {
Scrollview_panel12 = (UMScrollView)ThirdControl.createControl(new UMScrollView(context),ID_SCROLLVIEW_PANEL12
,"layout","vbox"
,"width","fill"
,"hscrollenabled","disabled"
,"layout-type","vbox"
,"height","fill"
);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
Scrollview_panel12.addView(panel12);

return Scrollview_panel12;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F7F8F8"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View Scrollview_panel12 = (View) getScrollview_panel12View((UMActivity)context,binderGroup);
viewPage0.addView(Scrollview_panel12);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
PurchaseQuery = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_PURCHASEQUERY
,"layout","vbox"
,"canvaswidth","320"
,"orientation","vertical"
,"controller","PurchaseQueryController"
,"canvasheight","569"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
PurchaseQuery.addView(viewPage0);

return (UMWindow)PurchaseQuery;
}

	
	public void actionButton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showMaterialRef()",UMActivity.getViewId(control),args);
}
public void actionButton6_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button6_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "queryNCPuInData()",UMActivity.getViewId(control),args);
}
public void actionButton5_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button5_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "clearctx()",UMActivity.getViewId(control),args);
}
public void actionButton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showDeptRef()",UMActivity.getViewId(control),args);
}
public void actionButton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showSupplierRef()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "initQueryPage()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button0_onclick()",UMActivity.getViewId(control),args);
}


}
